package com.example.personnel_oa.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.comment_oa.pojos.SysPost;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author asus
* @description 针对表【sys_post】的数据库操作Mapper
* @createDate 2022-10-17 19:05:44
* @Entity personnel_oa.com.example.pojos.SysPost
*/
@Mapper
public interface SysPostMapper extends BaseMapper<SysPost> {
    //查询出所有职位不包含懂事长
    List<SysPost> selectPost();
    //查出对应的职位
    SysPost post(int postId);
    //根据岗位名称查到岗位id和部门id
    SysPost postDept(String postName);

}




